From: Pablo Correa Gómez Date: Mon, 9 May 2022 22:21:40 +0000 (+0200) Subject: glcontext: Improve get_version documentation X-Git-Tag: archive/raspbian/4.8.3+ds-2+rpi1~3^2~81^2^2~145^2~7 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=6bc3ecbe56fb83a530e017bd34c1bfdc803081dc;p=gtk4.git glcontext: Improve get_version documentation --- diff --git a/gdk/gdkglcontext.c b/gdk/gdkglcontext.c index c566f75e06..8f9fe25396 100644 --- a/gdk/gdkglcontext.c +++ b/gdk/gdkglcontext.c @@ -1676,6 +1676,10 @@ gdk_gl_context_get_shared_context (GdkGLContext *context) * Retrieves the OpenGL version of the @context. * * The @context must be realized prior to calling this function. + * + * If the @context has never been made current, the version cannot + * be known and it will return 0 for both @major and @minor. + * */ void gdk_gl_context_get_version (GdkGLContext *context,